package com.lxj.service;

import com.lxj.domain.SysMenu;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author lxj
 * @date 2021/7/31 9:39
 * @Description:
 */
public interface SysMenuService extends IService<SysMenu> {

    /**
     * 查询当前用户的树菜单
     *
     * @param userId
     * @return
     */
    List<SysMenu> loadTreeByUserId(String userId);
}
